<?php  # Script -- exifimgtype.php

/* Author @ Huoty
 *   Date @ 2015-11-25 09:53:05
 *  Brief @ 
 */

if (exif_imagetype("1.jpg") != IMAGETYPE_GIF) {
    echo "The picture is not a gif.";
} else {
    echo "The picture is a gif.";
}

?>
